package au.chao.main;

import java.util.ArrayList;

public class Property extends Location{

	private ArrayList<Tenant> Tenants = new ArrayList<Tenant>();

	public Property(String streetNo, String streetN, String sub, String state) {
		super(streetNo, streetN, sub, state, "Australia");
	}

	public Property(String streetNo, String streetN, String sub, String state,
			String ctry) {
		super(streetNo, streetN, sub, state, ctry);
	}

	public ArrayList<Tenant> getTenants() {
		return Tenants;
	}

	public void setTenants(ArrayList<Tenant> tenants) {
		Tenants = tenants;
	}
	
	public void moveIn(Tenant t){
		Tenants.add(t);
	}
	
	public boolean moveOut(Tenant t){
		return Tenants.remove(t);
	}

	
}
